<?php
/**
 *	KLF Framework
 *
 *	@author Kristian Oye <kristianoye@gmail.com> 
 *	@copyright (C) 2010-2011, Kristian Oye
 */
namespace KLF\System\Web\Routing
{
	use \KLF\System\Web\KHttpContext;

	/**
	 *  Interface IRouteConstraint
	 *
	 *  Common interface for all route constraint types.
	 *  
	 *  @author Kristian Oye <kristianoye@gmail.com>
	 *  @since 0.1
	 */
	interface IRouteConstraint
	{
		function Match(
			KHttpContext $context, 
			KRoute $route, 
			$parameterName,
			$values, 
			KRouteDirection $routeDirection);
	}
}
	